garmin_txt: Rename function for swiss grid conversion.
authoroliskoli <oliskoli>
Sun, 24 Aug 2008 16:26:53 +0000 (16:26 +0000)
committeroliskoli <oliskoli>
Sun, 24 Aug 2008 16:26:53 +0000 (16:26 +0000)
garmin_txt.c

index 460a6035eba0eeab082eaaa1117a906caa78f8f7..fcb855b08bfc439c14e5c9801ae1f544ba1c90f3 100644 (file)
@@ -327,7 +327,7 @@ print_position(const waypoint *wpt)
 
        case grid_swiss:
 
-               valid = GPS_Math_WGS84_To_CH1903_NGEN(wpt->latitude, wpt->longitude, &east, &north);
+               valid = GPS_Math_WGS84_To_Swiss_EN(wpt->latitude, wpt->longitude, &east, &north);
                if (valid) gbfprintf(fout, "%.f %.f\t", east, north);
                break;